

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/images/common/favicon.png">
  <link rel="icon" href="/images/common/favicon.png">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="author" content="web_akai">
  <meta name="keywords" content="">
  
    <meta property="og:type" content="website">
<meta property="og:title" content="分类">
<meta property="og:url" content="http://example.com/categories/index.html">
<meta property="og:site_name" content="前端阿开">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="web_akai">
<meta name="twitter:card" content="summary_large_image">
  
  
  <title>分类 - 前端阿开</title>

  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css" />



<!-- 主题依赖的图标库，不要自行修改 -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">


<link  rel="stylesheet" href="/css/main.css" />

<!-- 自定义样式保持在最底部 -->


  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    var CONFIG = {"hostname":"example.com","root":"/","version":"1.8.14","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"right","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"copy_btn":true,"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"baidu":"b2ef8b4e438bfbfa9667837d1124fb6c","google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":"A6A3KekcB19LfYQfObiJlDAu-gzGzoHsz","app_key":"h5J0Jt6wCaR3HtH5I0brXmRk","server_url":null,"path":"window.location.pathname","ignore_local":true}},"search_path":"/local-search.xml"};
  </script>
  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 6.0.0"></head>


<body>
  <header style="height: 60vh;">
    <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand" href="/">
      <strong>前端阿开</strong>
    </a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/">
                <i class="iconfont icon-home-fill"></i>
                首页
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/">
                <i class="iconfont icon-archive-fill"></i>
                归档
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/">
                <i class="iconfont icon-category-fill"></i>
                分类
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/">
                <i class="iconfont icon-tags-fill"></i>
                标签
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/">
                <i class="iconfont icon-user-fill"></i>
                关于
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/links/">
                <i class="iconfont icon-link-fill"></i>
                友链
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/message/">
                <i class="iconfont icon-medium-fill"></i>
                留言板
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" target="_self" href="javascript:;" role="button"
                 data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <i class="iconfont icon-books"></i>
                文档
              </a>
              <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                
                  
                  
                  
                  <a class="dropdown-item" target="_blank" rel="noopener" href="https://hexo.fluid-dev.com/">
                    
                    主题博客
                  </a>
                
                  
                  
                  
                  <a class="dropdown-item" target="_blank" rel="noopener" href="https://hexo.fluid-dev.com/docs/guide/">
                    
                    配置指南
                  </a>
                
                  
                  
                  
                  <a class="dropdown-item" target="_blank" rel="noopener" href="https://hexo.fluid-dev.com/docs/icon/">
                    
                    图标用法
                  </a>
                
              </div>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
              &nbsp;<i class="iconfont icon-search"></i>&nbsp;
            </a>
          </li>
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">&nbsp;<i
                class="iconfont icon-dark" id="color-toggle-icon"></i>&nbsp;</a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

    <div class="banner" id="banner" parallax=true
         style="background: url('/images/common/default2.jpg') no-repeat center center;
           background-size: cover;">
      <div class="full-bg-img">
        <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
          <div class="page-header text-center fade-in-up">
            <span class="h2" id="subtitle" title="分类">
              
            </span>

            
          </div>

          
        </div>
      </div>
    </div>
  </header>

  <main>
    
      <div class="container nopadding-x-md">
        <div class="py-5" id="board"
          >
          
          <div class="container">
            <div class="row">
              <div class="col-12 col-md-10 m-auto">
                





<div class="category-list">
  
  
  
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-686155af75a60a0f6e9d80c1f7edd3e9" role="tab" data-toggle="collapse" href="#collapse-686155af75a60a0f6e9d80c1f7edd3e9"
        aria-expanded="false"
      >
        JavaScript
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/JavaScript/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>4</span>
      </a>
      <div class="category-collapse collapse" id="collapse-686155af75a60a0f6e9d80c1f7edd3e9" role="tabpanel" aria-labelledby="heading-686155af75a60a0f6e9d80c1f7edd3e9">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/08/article-9/" class="list-group-item list-group-item-action">
          <span class="category-post">18个杀手级JavaScript单行代码</span>
        </a>
      
    
      
      
        <a href="/2022/03/08/article-8/" class="list-group-item list-group-item-action">
          <span class="category-post">24个 JavaScript 循环遍历方法，你都知道吗？</span>
        </a>
      
    
      
      
        <a href="/2022/03/08/article-6/" class="list-group-item list-group-item-action">
          <span class="category-post">优雅的 JavaScript 个技巧</span>
        </a>
      
    
      
      
        <a href="/2022/03/07/article-2/" class="list-group-item list-group-item-action">
          <span class="category-post">7个常见的前端手写功能</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-75faee4ddc6af5f7c6ce40f33fb8da50" role="tab" data-toggle="collapse" href="#collapse-75faee4ddc6af5f7c6ce40f33fb8da50"
        aria-expanded="false"
      >
        Vue.js
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/Vue-js/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>3</span>
      </a>
      <div class="category-collapse collapse" id="collapse-75faee4ddc6af5f7c6ce40f33fb8da50" role="tabpanel" aria-labelledby="heading-75faee4ddc6af5f7c6ce40f33fb8da50">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/28/article-12/" class="list-group-item list-group-item-action">
          <span class="category-post">element-ui表单验证遇到v-if时不生效</span>
        </a>
      
    
      
      
        <a href="/2022/03/08/article-3/" class="list-group-item list-group-item-action">
          <span class="category-post">vue-cli脚手架中引入elementUI框架</span>
        </a>
      
    
      
      
        <a href="/2022/03/08/article-7/" class="list-group-item list-group-item-action">
          <span class="category-post">Vue项目优化打包——前端加分项</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-3b2819dd4c24eda2faf2052eef449551" role="tab" data-toggle="collapse" href="#collapse-3b2819dd4c24eda2faf2052eef449551"
        aria-expanded="false"
      >
        Node.js
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/Node-js/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>3</span>
      </a>
      <div class="category-collapse collapse" id="collapse-3b2819dd4c24eda2faf2052eef449551" role="tabpanel" aria-labelledby="heading-3b2819dd4c24eda2faf2052eef449551">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/04/16/article-15/" class="list-group-item list-group-item-action">
          <span class="category-post">使用 apiDoc 为你的Node.js API 生成文档</span>
        </a>
      
    
      
      
        <a href="/2022/04/15/article-14/" class="list-group-item list-group-item-action">
          <span class="category-post">Express生成的服务器上开发用到的依赖以及修改</span>
        </a>
      
    
      
      
        <a href="/2022/04/15/article-13/" class="list-group-item list-group-item-action">
          <span class="category-post">Express生成器快速搭建web服务器</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-1017be3f3eac7f5b5daa1fad24ce05fd" role="tab" data-toggle="collapse" href="#collapse-1017be3f3eac7f5b5daa1fad24ce05fd"
        aria-expanded="false"
      >
        ElementUI
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/ElementUI/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>2</span>
      </a>
      <div class="category-collapse collapse" id="collapse-1017be3f3eac7f5b5daa1fad24ce05fd" role="tabpanel" aria-labelledby="heading-1017be3f3eac7f5b5daa1fad24ce05fd">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/04/25/article-17/" class="list-group-item list-group-item-action">
          <span class="category-post">vue + element 检验开始时间与结束时间</span>
        </a>
      
    
      
      
        <a href="/2022/04/25/article-16/" class="list-group-item list-group-item-action">
          <span class="category-post">ElementUI输入框做手机号校验,必填项不清空</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-9abfe4a03928eb88a75a5cd95822dfef" role="tab" data-toggle="collapse" href="#collapse-9abfe4a03928eb88a75a5cd95822dfef"
        aria-expanded="false"
      >
        前端
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/%E5%89%8D%E7%AB%AF/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>1</span>
      </a>
      <div class="category-collapse collapse" id="collapse-9abfe4a03928eb88a75a5cd95822dfef" role="tabpanel" aria-labelledby="heading-9abfe4a03928eb88a75a5cd95822dfef">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/04/article-1/" class="list-group-item list-group-item-action">
          <span class="category-post">初学者前端入门路线</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-0bcc70105ad279503e31fe7b3f47b665" role="tab" data-toggle="collapse" href="#collapse-0bcc70105ad279503e31fe7b3f47b665"
        aria-expanded="false"
      >
        Git
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/Git/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>1</span>
      </a>
      <div class="category-collapse collapse" id="collapse-0bcc70105ad279503e31fe7b3f47b665" role="tabpanel" aria-labelledby="heading-0bcc70105ad279503e31fe7b3f47b665">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/08/article-10/" class="list-group-item list-group-item-action">
          <span class="category-post">git命令总结</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-d261fc3ddf01b74f54d6f2173f72f9ae" role="tab" data-toggle="collapse" href="#collapse-d261fc3ddf01b74f54d6f2173f72f9ae"
        aria-expanded="false"
      >
        生活随笔
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/%E7%94%9F%E6%B4%BB%E9%9A%8F%E7%AC%94/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>1</span>
      </a>
      <div class="category-collapse collapse" id="collapse-d261fc3ddf01b74f54d6f2173f72f9ae" role="tabpanel" aria-labelledby="heading-d261fc3ddf01b74f54d6f2173f72f9ae">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/08/article-11/" class="list-group-item list-group-item-action">
          <span class="category-post">还不曾去过倒悬山</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-28726c40cc9246c7db10dfc4ca4f32be" role="tab" data-toggle="collapse" href="#collapse-28726c40cc9246c7db10dfc4ca4f32be"
        aria-expanded="false"
      >
        杂项
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/%E6%9D%82%E9%A1%B9/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>1</span>
      </a>
      <div class="category-collapse collapse" id="collapse-28726c40cc9246c7db10dfc4ca4f32be" role="tabpanel" aria-labelledby="heading-28726c40cc9246c7db10dfc4ca4f32be">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/07/article-4/" class="list-group-item list-group-item-action">
          <span class="category-post">Fluid 页脚增加网站运行时长</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-1573c74e227f14ded2daa71bb049ecda" role="tab" data-toggle="collapse" href="#collapse-1573c74e227f14ded2daa71bb049ecda"
        aria-expanded="false"
      >
        面试
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/%E9%9D%A2%E8%AF%95/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>1</span>
      </a>
      <div class="category-collapse collapse" id="collapse-1573c74e227f14ded2daa71bb049ecda" role="tabpanel" aria-labelledby="heading-1573c74e227f14ded2daa71bb049ecda">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/08/article-5/" class="list-group-item list-group-item-action">
          <span class="category-post">【面试】说说typeof和instanceof的区别</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
    
    
    <div class="category row">
      <a
        class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
        id="heading-671a0da0ba061c98de801409dbc57d7e" role="tab" data-toggle="collapse" href="#collapse-671a0da0ba061c98de801409dbc57d7e"
        aria-expanded="false"
      >
        nodejs
        <i class="iconfont icon-arrowright"></i>
      </a>
      <a href="/categories/nodejs/" class="category-count col-2 col-md-1">
        <i class="iconfont icon-articles"></i>
        <span>1</span>
      </a>
      <div class="category-collapse collapse" id="collapse-671a0da0ba061c98de801409dbc57d7e" role="tabpanel" aria-labelledby="heading-671a0da0ba061c98de801409dbc57d7e">
        
        
          
  <div class="category-post-list">
    
    
      
      
        <a href="/2022/03/04/article/" class="list-group-item list-group-item-action">
          <span class="category-post">创建简单的Nodejs服务器</span>
        </a>
      
    
  </div>

        
      </div>
    </div>
  
</div>

              </div>
            </div>
          </div>
        </div>
      </div>
    

    
      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v"
                 for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>
    

    
  </main>

  <footer class="text-center mt-5 py-3">
  <div class="footer-content">
     <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> <div style="font-size: 0.85rem"> <span id="timeDate">载入天数...</span> <span id="times">载入时分秒...</span> <script src="/js/duration.js"></script> </div> 
  </div>
  
  <div class="statistics">
    
    

    
      
        <!-- LeanCloud 统计PV -->
        <span id="leancloud-site-pv-container" style="display: none">
            总访问量 
            <span id="leancloud-site-pv"></span>
             次
          </span>
      
      
        <!-- LeanCloud 统计UV -->
        <span id="leancloud-site-uv-container" style="display: none">
            总访客数 
            <span id="leancloud-site-uv"></span>
             人
          </span>
      

    
  </div>


  
  <!-- 备案信息 -->
  <div class="beian">
    <span>
      <a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow noopener">
        京ICP证123456号
      </a>
    </span>
    
      
        <span>
          <a
            href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=12345678"
            rel="nofollow noopener"
            class="beian-police"
            target="_blank"
          >
            
              <span style="visibility: hidden; width: 0">|</span>
              <img src="/img/police_beian.png" srcset="/img/loading.gif" lazyload alt="police-icon"/>
            
            <span>京公网安备12345678号</span>
          </a>
        </span>
      
    
  </div>


  
</footer>


  <!-- SCRIPTS -->
  
  <script  src="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js" ></script>
<script  src="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.min.js" ></script>
<script  src="/js/events.js" ></script>
<script  src="/js/plugins.js" ></script>

<!-- Plugins -->


  <script  src="/js/local-search.js" ></script>



  
    <script  src="/js/img-lazyload.js" ></script>
  



  






  <script defer src="/js/leancloud.js" ></script>



  <script  src="https://cdn.jsdelivr.net/npm/typed.js@2/lib/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var title = document.getElementById('subtitle').title;
      
        typing(title);
      
    })(window, document);
  </script>












  
    <!-- Baidu Analytics -->
    <script defer>
      var _hmt = _hmt || [];
      (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b2ef8b4e438bfbfa9667837d1124fb6c";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
  

  

  

  

  

  





<!-- 主题的启动项 保持在最底部 -->
<script  src="/js/boot.js" ></script>


</body>
</html>
